//
//  MeatFoundApi.h
//  PigMarket
//
//  Created by 张敬 on 2019/9/2.
//  Copyright © 2019年 pigmarket.oc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "URLPigMarketDefine.h"

#import "FoundActicleShareModel.h"
#import "FoundActicleTypeModel.h"
#import "FoundActicleListModel.h"
#import "FoundCommentListModel.h"
#import "FoundMapShowModel.h"
#import "FoundMapNearByModel.h"


#import "FoundLikeOrUnLikeParam.h"
#import "FoundActicleListParam.h"
#import "FoundCommentParam.h"
#import "FoundMapNearByParam.h"
#import "FoundServiceExitParam.h"

NS_ASSUME_NONNULL_BEGIN

@interface MeatFoundApi : NSObject

+ (instancetype) sharedInstance;

#pragma mark - 清饲文章分享
- (RACSignal<FoundActicleShareModel *> *)getArticleShareByArticleId:(NSNumber *)qsArticleId;

#pragma mark - 清饲文章类型
- (RACSignal <FoundActicleTypeModel *> *)getArticleTypeList;

#pragma mark - 点赞/取消点赞清饲文章
- (RACSignal<NSNull *> *)getArticleLikeOrUnLikeByParams:(FoundLikeOrUnLikeParam *)parmas;

#pragma mark - 清清饲文章列表
- (RACSignal<FoundActicleListModel *> *)getArticleDetailListByParams:(FoundActicleListParam *)parmas;

#pragma mark - 清饲文章收藏
- (RACSignal <NSNull *> *)getArticleCollectionById:(NSNumber *)qsArticleId;

#pragma mark - 评论清饲文章
- (RACSignal<NSNull *> *)getArticleCommentByParams:(FoundCommentParam *)parmas;

#pragma mark - 清饲文章的评论列表
- (RACSignal<FoundCommentListModel *> *)getArticleCommentListByParams:(FoundLikeOrUnLikeParam *)parmas;

#pragma mark - 点赞/取消点赞评论
- (RACSignal<NSNull *> *)getArticleLikeOrUnlikeByParams:(FoundLikeOrUnLikeParam *)parmas;

#pragma mark - 取消清饲文章收藏
- (RACSignal<NSNull *> *)getArticleCancelByArticleId:(NSNumber *)qsArticleId;

#pragma mark - 地图显示
- (RACSignal<FoundMapShowModel *> *)getMapShowByLat:(NSString *)latitude lon:(NSString *)longitude;

#pragma mark - 附近服务商
- (RACSignal<FoundMapNearByModel *> *)getMapNearByByParams:(FoundMapNearByParam *)parmas;

#pragma mark - 加入/退出服务商
- (RACSignal<NSNull *> *)getMapExitServiceByParams:(FoundServiceExitParam *)parmas;


@end

NS_ASSUME_NONNULL_END
